﻿@using SquishIt.Framework
@using SquishIt.Mvc
@using Viettel.VOFFICE.Resources
@using Viettel.VOFFICE.util
@*@using SquishIt.Framework;
@using SquishIt.Mvc;*@
@{
    Layout = null;
}
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <title>@Resources.AdminPAgeTitleCreateFLow</title>
    <meta http-equiv='Content-Type' content='text/html; charset=UTF-8' />
    <link rel="SHORTCUT ICON" href="../../viettel.ico"/>
    <link href="@Url.Content("~/Content/style/screen.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/style/admin.createflow.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/custom-theme/jquery-ui-1.9.2.custom.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Scripts/file-upload/fileuploader.css")" rel="stylesheet" type="text/css" />
@*    @(Bundle.Css()
        .Add("~/Content/style/screen.css")
        .Add("~/Content/style/admin.createflow.css")
        .ForceRelease()
        .MvcRender("~/Content/style/screen.min.css")
    )  
    @(Bundle.Css()
        .Add("~/Content/themes/custom-theme/jquery-ui-1.9.2.custom.css")
        .ForceRelease()
        .MvcRender("~/Content/themes/custom-theme/jquery-ui-1.9.2.custom.min.css")
    )*@
    @{
        var region = Viettel.VOFFICE.Web.Helpers.CultureHelper.GetCurrentCulture();
        if (region.ToLower().Equals("lo-la"))
        {
        <style type="text/css">
            body {
                font: 13px VangViengMXRegular, Helvetica, arial, freesans, clean, sans-serif !important;
            }
            input {
                font: 13px VangViengMXRegular, Helvetica, arial, freesans, clean, sans-serif !important;
            }
            textarea {
                font: 13px VangViengMXRegular, Helvetica, arial, freesans, clean, sans-serif !important;
            }
        </style>
        }
    }

    <script src="@Url.Content("~/Scripts/jquery-1.8.2.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.9.2.custom.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/date.format.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.cookie.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.history.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/file-upload/fileuploader.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/globalize.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/cultures/globalize.culture." + region + ".js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/cultures/VOffice.lang." + region + ".js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jquery.validate.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/purl.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/underscore.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/backbone.js")" type="text/javascript"></script>

    <script src="@Url.Content("~/Scripts/jsPlumb/lib/jquery.ui.touch-punch.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/lib/jsBezier-0.5.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-util-1.4.0-RC1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-dom-adapter-1.4.0-RC1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-1.4.0-RC1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-defaults-1.4.0-RC1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-connectors-statemachine-1.4.0-RC1.js")"  type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-renderers-svg-1.4.0-RC1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-renderers-canvas-1.4.0-RC1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jsPlumb-renderers-vml-1.4.0-RC1.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jsPlumb/1.4.0/jquery.jsPlumb-1.4.0-RC1.js")" type="text/javascript"></script>
    
    <script src="@Url.Content("~/Scripts/VOffice.indicator.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/VOffice.utility.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Models/Todo.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Models/Node.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/Models/Flow.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/page/admin.createflow.js")" type="text/javascript"></script>
 
    @*@(Bundle.JavaScript()
        .Add("~/Scripts/jquery-1.8.2.js")
        .Add("~/Scripts/jquery-ui-1.9.2.custom.min.js")
        .Add("~/Scripts/date.format.js")
        .Add("~/Scripts/jquery.cookie.js")
        .Add("~/Scripts/jquery.history.js")
        .Add("~/Scripts/file-upload/fileuploader.js")
        .Add("~/Scripts/globalize.js")
        .Add("~/Scripts/VOffice.indicator.js")
        .Add("~/Scripts/VOffice.utility.js")
        .Add("~/Scripts/jquery.validate.js")
        .Add("~/Scripts/purl.js")
        .Add("~/Scripts/underscore.js")
        .Add("~/Scripts/backbone.js")
        .Add("~/Scripts/jsPlumb/lib/jquery.ui.touch-punch.min.js")
        .Add("~/Scripts/jsPlumb/lib/jsBezier-0.5.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-util-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-dom-adapter-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-defaults-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-connectors-statemachine-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-renderers-svg-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-renderers-canvas-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jsPlumb-renderers-vml-1.4.0-RC1.js")
        .Add("~/Scripts/jsPlumb/1.4.0/jquery.jsPlumb-1.4.0-RC1.js")
        .Add("~/Scripts/Models/Todo.js")
        .Add("~/Scripts/Models/Node.js")
        .Add("~/Scripts/Models/Flow.js")
        .Add("~/Scripts/page/admin.createflow.js")
        .ForceRelease()
        .MvcRender("~/Scripts/createflow.min.js")
    )*@
    <style type="text/css">
        .qq-upload-button
        {
            width: 99px !important;
        }
    </style>
</head>
    <body>
        @Html.AntiForgeryToken(AppConstants.TokenSalt)
        @Html.Partial("../Common/CreateFlowTemplate")
        <div id="flow-action" style="display: none;">
            <div class="step">
                <b title="">3</b>
            </div>
            <div id="flow-action-main">
            </div>
        </div>
        <div id="full-details" style="display: none;">
            <div class="step">
                <b title="">2</b>
            </div>
            <div class="clear">
            </div>
            <div id="step2-node-form">
            </div>
            <div class="clear">
            </div>
            <div id="node-need-start">
                @Resources.CreateFlowNeedStartingNode
            </div>
            <div class="clear">
            </div>
            <div id="step2-node-list">
            </div>
        </div>
        <div id="main-info">
            <div class="step">
                <b title="">1</b>
            </div>
            <div class="clear">
            </div>
            <div id="step1-flow-form">
            </div>
            <div class="clear">
            </div>
            <div id="step1-hint" style="display: none;">
            </div>
        </div>
        <div id="dialog">
        </div>
    </body>
</html>
